

{if $OnlineSupport || $is_admin}
<div class="box" id="eBoxSupportOnline">
<div class="title_sidebar">
    <p>Hỗ trợ trực tuyến </p>
</div>

    {if $OnlineSupport}
    {assign value=1 var="k"}
    <div class="support-online spo-home">
        <ul>
            {foreach from=$OnlineSupport item=ogroup}
                <li class="s-g" {if $OnlineSupport|@count == $k++}style="border-bottom:none;"{/if}>
                    <div class="s-g-name">{$ogroup.name}</div>
                    <ul>
                        {foreach from=$ogroup.users item=user}
                            <li>
                                {if $ogroup.users|@count gt 1}
                        <span class="s-name">
                            {$user.name}
                        </span>
                                {/if}
                                {if $user.yahoo!=''}
                                    <span class="ol_yahoo">
                                    <a href="ymsgr:sendim?{$user.yahoo}" title="Chát qua Yahoo với - {$user.yahoo}">Gangnam style</a>
                                </span>
                                {/if}
                                {if $user.skype!=''}
                                    <span class="ol_skype">
                                    <a href="skype:{$user.skype}?chat" title="Chát qua skype với - {$user.skype}">Gangnam style</a>
                                </span>
                                {/if}
                            </li>

                        {/foreach}
                    </ul>
                </li>
            {/foreach}
        </ul>
    </div>
    {/if}
<div align="center">
    {if $is_admin}[<a style="color:#fff;"
                      onclick="window.open('{$web_dir}online_support_edit.html?is_popup=1' ,'','status=1,toolbar=,scrollbars=1,resizable=,width=1000,height=600,top=' + (screen.height -600)/2 +',left=' + (screen.width -1000)/2 +',location =0,menubar =0');">Sửa hỗ trợ online</a>]{/if}

</div>
</div>
{/if}